<?php
// +----------------------------------------------------------------------
// | Created by PHPstorm
// +----------------------------------------------------------------------
// | Copyright (c) 2020-2021 All rights reserved.
// +----------------------------------------------------------------------
// | Just do IT
// +----------------------------------------------------------------------
// | Author: TopThink
// +----------------------------------------------------------------------
// | Date: 2020/7/17 0026
// +----------------------------------------------------------------------
// | Description:
// +----------------------------------------------------------------------



namespace app\common\subscribes;

use app\admin\model\AdminUser;


class AdminSubscribe extends Base
{

    /**
     * @param $event
     * @author: yu
     * @describe:用户登录后
     */
    public function onAdminLoginAfter($event){
         list($data)=$event;
         AdminUser::update($data);
    }




}